import request from '@/utils/request'

export function getQualificationList(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/examine/admin/qualification/getList',
    method: 'post',
    data: query
  })
}   

export function saveQualification(query) {
  return request({
    url: '/examine/admin/qualification/save',
    method: 'post',
    data: query
  })
}

export function copyQualification(query) {
  return request({
    url: '/examine/admin/qualification/copy',
    method: 'post',
    data: query
  })
}

export function removeQualification(query) {
  return request({
    url: '/examine/admin/qualification/remove',
    method: 'post',
    data: query
  })
}
export function getQualificationDetail(query) {
  if(query != undefined){
    query = JSON.parse(JSON.stringify(query))
  }
  return request({
    url: '/examine/admin/qualification/getDetail',
    method: 'post',
    data: query
  })
}